//
//  FileUnit.h
//  FreeTime
//
//  Created by 王江华 on 16/8/26.
//  Copyright © 2016年 SRDZ.com. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface FileUnit : NSObject

+(FileUnit *)shareInstance;
-(void)createPathInDocumentDirectory;
-(NSString *)pathInDocumentDirectory:(NSString *)fileName;
-(BOOL)hasCachedImage:(NSURL *)url;
-(NSString *)pathForUrl:(NSURL *)url;

@end
